package com.woniu.pojo;

import java.io.Serializable;

/**
 * actuser
 * @author 
 */
public class Actuser implements Serializable {
    private Integer auid;

    private Integer aid;

    private Integer uid;

    private Integer austate;

    private static final long serialVersionUID = 1L;

    public Integer getAuid() {
        return auid;
    }

    public void setAuid(Integer auid) {
        this.auid = auid;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getAustate() {
        return austate;
    }

    public void setAustate(Integer austate) {
        this.austate = austate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Actuser other = (Actuser) that;
        return (this.getAuid() == null ? other.getAuid() == null : this.getAuid().equals(other.getAuid()))
            && (this.getAid() == null ? other.getAid() == null : this.getAid().equals(other.getAid()))
            && (this.getUid() == null ? other.getUid() == null : this.getUid().equals(other.getUid()))
            && (this.getAustate() == null ? other.getAustate() == null : this.getAustate().equals(other.getAustate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getAuid() == null) ? 0 : getAuid().hashCode());
        result = prime * result + ((getAid() == null) ? 0 : getAid().hashCode());
        result = prime * result + ((getUid() == null) ? 0 : getUid().hashCode());
        result = prime * result + ((getAustate() == null) ? 0 : getAustate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", auid=").append(auid);
        sb.append(", aid=").append(aid);
        sb.append(", uid=").append(uid);
        sb.append(", austate=").append(austate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}